package com.smile.api;

import com.smile.commons.page.R;
import com.smile.model.request.GetAirportByIdRequest;
import com.smile.model.request.GetAirportInfoByIdRequest;
import com.smile.model.response.GetAirportByIdResponse;
//import com.smile.model.response.response.GetAirportInfoResponseDTO;
import com.smile.model.response.GetAirportInfoResponseDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "smile-plus-standalone-monitor",contextId = "airportinfo", path = "/api/monitor")
public interface AirportInfoApi {

    @PostMapping("/airportinfo/getAirportInfoById")
    R<GetAirportInfoResponseDTO> getAirportInfoById(@RequestBody GetAirportInfoByIdRequest getAirportByIdRequest);

}
